package com.osgix.common.pojo.temp;

import java.io.Serializable;

import org.springframework.web.multipart.MultipartFile;

/**
 * @author yijon 2007-11-16
 * 附件对象(B/S)
 */
public class Affix implements Serializable {

	private static final long serialVersionUID = -7822830084952908688L;
	/**
	 * 附件ID
	 */
	private String id = "";
	/**
	 *附件名称 
	 */
	private String affixName = "";
	/**
	 *附件路径 
	 */
	private String url = "";
	/**
	 *附件类型 
	 */
	private String type = "";
	/**
	 *用于临时存放项目物理路径
	 */
	private String path = "";//
	/**
	 *上传文件
	 */
	private MultipartFile file;//上传文件

	private String webAppName = "";//用于保存应用名称

	public Affix() {

	}

	/**
	 * 附件ID
	 * @return
	 */
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 附件类型
	 * @return
	 */
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	/**
	 * 附件URL
	 * @return
	 */
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	/**
	 * 项目物理路径
	 * @return
	 */
	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public MultipartFile getFile() {
		return file;
	}

	public void setFile(MultipartFile file) {
		this.file = file;
	}

	/**
	 * 附件名称
	 * @return
	 */
	public String getAffixName() {
		return affixName;
	}

	public void setAffixName(String affixName) {
		this.affixName = affixName;
	}

	public String getWebAppName() {
		return webAppName;
	}

	public void setWebAppName(String webAppName) {
		this.webAppName = webAppName;
	}
}
